<template>
  <div id="app">
    <van-calendar
      title="日历"
      :poppable="false"
      :show-confirm="false"
      :style="{ height: '500px' }"
    />
  </div>
</template>

<script>
import request from './utils/request'
import { setToken } from './utils/storage'
export default {
  created() {
    request
      .post('/user/login', {
        username: 'web84',
        password: '123123'
      })
      .then((res) => {
        console.log(res)
        setToken(res.data.data.token)
      })
  }
}
</script>

<style lang="less"></style>
